package cn.itcast.demo2;

public class Test {
    public static void main(String[] args){
        Student s1 = new Student(1,"欧阳",66);
        System.out.println(s1);
        System.out.println(s1.toString());
        System.out.println("---------------------");

        Student s2 = new Student(1, "欧阳",66);
        boolean b1 = s1.equals(s2);
        System.out.println(b1);
        System.out.println("---------------------");



    }
}
